/*
 * @Author: your name
 * @Date: 2022-03-05 14:58:26
 * @LastEditTime: 2022-03-27 13:15:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \blog_web\src\api\user.js
 */
import request from '@/request'

let { get: $get, post: $post } = request

// 用户注册接口
export const addUser = (options) => $post('/user/register', options)

// 用户登录接口
export const toLogin = (options) => $post('/auth/login', options)

// 重置密码的接口
export const resetPwd = (options) => $post('/user/reset/pwd', options)
